//MPI c++ wrapper
//$Id: easy_mpi.cpp 201 2009-09-17 11:11:14Z Oleg.Bulychov $

#include "stdafx.h"

#include "src/heo/include/easy_mpi.h"

//__________________________________________________________________________________
#define STR__(x) STRINGIZE_A(x)
#define LOC__ __FILE__ "(" STR__(__LINE__) "): "
//__________________________________________________________________________________
//__________________________________________________________________________________
namespace mpi
{
//__________________________________________________________________________________
implementation::TTypeMap implementation::s_map;
//__________________________________________________________________________________
}
//__________________________________________________________________________________
#if defined(_MSC_VER) || defined(__INTEL_COMPILER)

#if defined(MPICH_NAME)

#if (2 == MPI_VERSION)

#pragma comment(lib, "mpi")

#elif (1 == MPI_VERSION)

#if defined(_DEBUG)
#pragma comment(lib, "mpichd")
#else
#pragma comment(lib, "mpich")
#endif

#endif//VERSION

#elif defined(MS_MPI)

//:TODO approve
#pragma comment(lib, "msmpi")

#else

#pragma message(LOC__ "add *mpi* lib here")

#endif

#endif//_MSC_VER
//__________________________________________________________________________________
//__________________________________________________________________________________

//EOF!
